!function() {
	
	// 获得基础JIPIN对象
	var JIPIN = window.__NS__JIPIN;
	if(!JIPIN) { return; }
	var $ = JIPIN.$;
	
	if(inValidPage()) {
		JIPIN.getSitePicDesc = function(targetPic) {
			return $.trim(targetPic.closest('.post_content').children('.caption').text()) || '';
		}
	}
	
	function inValidPage() {
		return document.location.href.indexOf('tumblr.com/dashboard') !== -1;
	}
	
}();
